package com.zws.cucumber.bootstrap.cass;

import com.zws.cucumber.util.cass.ZwsCassContext;

public sealed interface ZwsCassBootstrap
        permits ZwsAbstractCassBootstrap, ZwsLocalCassBootstrap {

    int getCassandraPort();

    int getBackdoorPort();

    String getPathOfSystemLogs();

    void prepareAndStartCassandra() throws Exception;

    ZwsCassContext boot(String creationScriptPath, String dataScriptPath, String keyspace) throws Exception;

    static void println(String msg) {
        System.out.println(msg);
    }
}
